package com.xinqing.test.algorithm.k8s.misc;

import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;

import java.net.URI;

/**
 * @Author:CHQ
 * @Date:2020/10/12 13:58
 * @Description
 */
public class HttpDeleteWithBody extends HttpEntityEnclosingRequestBase {


    @Override
    public String getMethod() {
        return "DELETE";
    }

    public HttpDeleteWithBody(final String uri) {
        super();
        setURI(URI.create(uri));
    }

    public HttpDeleteWithBody(final URI uri) {
        super();
        setURI(uri);
    }

    public HttpDeleteWithBody() {
        super();
    }

}

